for i in range(0,10):
	print(" "*(100-i*3),end=" ")
	for j in range(1,i+1):
		print("{:1}*{:1}={:2}".format(j,i,i*j),end=" ")
	print("")